package com.suvel.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "lagou-service-resume-self",fallback = ResumeServiceFallback.class,path="/resume")
/*@RequestMapping("/resume")*/
public interface ResumeServiceFeignClient {

    @GetMapping("/openstate/{userId}")
    public Integer fingDefaultResumeState(@PathVariable("userId") Long userId);

}
